import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询分销提现订单列表
export function listEmployeeOrderCash(data) {
  return request({
    url: '/order/cash/employee/orderCashEmployeeList',
    method: 'post',
    data: data
  })
}

// 查询分销提现订单详细
export function getEmployeeOrderCash(orderNo) {
  return request({
    url: '/order/cash/employee/' + parseStrEmpty(orderNo),
    method: 'get'
  })
}

// 新增分销提现订单
export function addEmployeeOrderCash(data) {
  return request({
    url: '/order/cash/employee',
    method: 'post',
    data: data
  })
}

// 修改分销提现订单
export function updateEmployeeOrderCash(data) {
  return request({
    url: '/order/cash/employee/orderCashEmployeeEdit',
    method: 'post',
    data: data
  })
}